﻿
using NovelDB.Entity;
namespace NovelLibEx.Parser
{
    public interface INovelParser
    {
        /// <summary>
        /// 将小说目录结构解析出来
        /// </summary>
        /// <param name="baseUrl">小说中目录的前缀</param>
        /// <param name="strContent">目录内容</param>
        /// <returns>解析之后的小说结构体</returns>
        Novel ExtractNovelCatelogLinks(string baseUrl, string strContent);

        /// <summary>
        /// 将小说正文中的广告信息摘录出来
        /// </summary>
        /// <param name="strContent">小说正文</param>
        /// <returns>去广告之后的内容</returns>
        string RemoveAd(string strContent);
    }
}
